{% set clazz = "projects" %}
{% set title = "选择社区" %}
{% extends './modules/common/templates/main.html' %}
{% block style %}
  <link rel="stylesheet" type="text/css" href="{{ '/static/css/store.css'|version }}" />
{% endblock %}
{% block content %}
  {% if !nested %}
    <header class="bar bar-header">
      {{ macro.back() }}
      <h1 class="title">{{ title }}</h1>
    </header>
  {% endif %}
  <section>
    <div class="list">
      {% for item in projectList %}
      <a href="/store/storeorders?projectId={{item.id}}" class="item">
        <span class="text">
          {{item.cityName}}-{{item.name}}
        </span>
        <i class="icon text-gray">&#xe61a;</i>
      </a>
      {% endfor %}
    </div>
  </section>
{% endblock %}
{% block script %}
  {% parent %}
  <script src="{{ '/static/js/store.js'|version }}"></script>
{% endblock %}